package com.link2room.enums.exception;

import com.link2room.common.constant.BaseConstant;
import com.link2room.common.enums.DefaultSysExceptionInterface;

/**
 * Created by sss on 2016/8/11.
 */
public enum SoundwaveSysExceptionEnum implements DefaultSysExceptionInterface {
    /****SOUNDWAVE**********SOUNDWAVE********************SOUNDWAVE**********SOUNDWAVE****/
    PMSMEMBER_NOT_EXIT(1701,"PMS会员不存在", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    REGISTER_EXIT(1702,"PMS会员注册信息已存在", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    REGISTER_ERROR(1703,"PMS会员注册失败", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    PMSRESER_SAVE_ERROR(1704,"PMS订单保存失败", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    PMSRESER_SAVE_PAY_ERROR(1705,"PMS入账失败", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    PMSRESER_NOT_EXIT(1706,"PMS订单未找到", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    PMSRESER_CANCEL_ERROR(1707,"PMS订单取消失败", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    PMSMEMBER_NOT_MATCH(1708,"PMS会员不匹配", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    TACODE_NOT_EXIT(1709,"默认付款码不存在", BaseConstant.SysExceptionConstant.BIZ_TYPE.BRANDWISDOM),
    L2R_PMS_GROUP_MAPPING_NOT_FOUNDE(1710,"l2RIpms2Group 没有找到", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    PMS_REGISTER_CHECK(1711,"pms注册检查:", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    L2R_REGISTER_CHECK(1712,"L2R注册检查:", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    NO_GCCLIENT(1713,"gcClient未建立", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    NO_PMSRESERVATIONOPTION(1714,"PMS下单参数不存在", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    GCPMS_MAPPINGRMTYPE_NOT_EXIT(1715,"绿云PMS映射房型不存在", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    GCPMS_MAPPINGHOTEL_NOT_EXIT(1716,"绿云PMS映射酒店不存在", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    GCPMS_MEMBER_POINT_NOT_EXIT(1717,"绿云PMS会员积分未找到", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    GCPMS_PAY_POINT_ERROR(1718,"绿云PMS赠送积分出错", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    GCPMS_APPLY_POINT_ERROR(1719,"绿云PMS使用积分出错", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    GCPMS_CARD_BALANCE_ERROR(1720,"获取会员账户储值积分余额错误", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    GCPMS_GET_MEMBER_COUPON_ERROR(1721,"获取会员账户储值积分余额错误", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    GCPMS_MASTER_NOT_EXIT(1722,"绿云PMS登记单未找到", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    GCPMS_ACCOUNT_ERROR(1723,"绿云获取账务异常", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    GCPMS_AVAIL_ERROR(1724,"绿云查询房量异常", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    GCPMS_MAPPINGGROUP_NOT_EXIT(1725,"绿云PMS映射集团内不存在", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    GCPMS_QUERY_ORDER_ERROR(1726,"绿云查询订单异常", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    GCPMS_HOTEL_ERROR(1727,"绿云查询酒店列表异常", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    GCPMS_MAPPING_ACOUNTTYPE_NOT_EXIT(1728,"绿云映射账单类型不存在", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    YHPMS_BINDMEMBER_ERROR(1729,"绑定昱恒会员失败", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    YHPMS_NEWMEMBER_ERROR(1730,"注册昱恒会员失败", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    YHPMS_ADDPOINT_ERROR(1731,"注册昱恒会员失败", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    YHPMS_USEPOINT_ERROR(1732,"注册昱恒会员失败", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    YHPMS_REQTYPE_ERROR(1733,"昱恒PMS请求类型错误", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    YHPMS_GETTOKEN_ERROR(1734,"昱恒PMS请求TOKEN错误", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    YHPMS_HOTELLIST_ERROR(1735,"昱恒PMS酒店列表错误", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    YHPMS_RMTYPELIST_ERROR(1735,"昱恒PMS房型列表错误", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    YHPMS_MAPPINGHOTEL_NOT_EXIT(1736,"昱恒PMS映射酒店不存在", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    YHPMS_RMTYPEAVAIL_ERROR(1737,"昱恒PMS查询库存错误", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    YHPMS_MAPPINGRMTYPE_NOT_EXIT(1738,"昱恒PMS映射房型不存在", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    YHPMS_QUERY_RESERVE_ERROR(1739,"昱恒PMS映射房型不存在", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    NO_PRICELIST(1740,"每日房价缺失", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    GCPMS_SALE_COUPON_ERROR(1741,"绿云发券异常", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    YHPMS_GET_COUPON_ERROR(1742,"昱恒查询券异常", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    SALE_COUPON_CODE_IS_MISSING(1743,"发券代码缺失", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    YHPMS_GET_CARDTYPE_RULE_ERROR(1744,"昱恒查询卡升级规则异常", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    YHPMS_CARD_UPGRADE_ERROR(1745,"昱恒卡升级异常", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    YHPMS_CARD_UPGRADE_VALUE_ERROR(1746,"昱恒卡升级金额异常", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    YHPMS_CARD_UPGRADE_RELATION_MISSING(1747,"昱恒卡升级未定义关系", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    COUPON_MAPPING_IS_MISSING(1748,"电子券映射缺失", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    COUPON_MAPPING_IS_EXIT(1749,"电子券映射已存在", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    MEMBER_CARD_PAY_FEE_IS_NOT_MATCH(1750,"储值卡支付预下单金额不一致", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    MEMBER_CARD_PREPAY_ERROR(1751,"储值卡支付预下单失败", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    GC_PMS_GET_CARD_ACCOUNT_ERROR(1752,"绿云查询储值卡信息出错", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    GC_PMS_CARD_ACCOUNT_LESS(1753,"绿云储值卡余额不足", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    CARDPAY_PREPAY_DETAIL_IS_NOT_EXIT(1754,"储值卡预下单记录不存在", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    MEMBER_CARD_PAY_ERROR(1751,"储值卡支付失败", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    YHPMS_GET_ACTIVITY_LIST_ERROR(1752,"昱恒查询活动列表异常", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    YHPMS_GET_ACTIVITY_ERROR(1752,"昱恒查询活动异常", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    YHPMS_EXCHANGEPACKAGE_ERROR(1732,"昱恒兑换礼包失败", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),
    YHPMS_COUPENCODECOLLARCOUPEN_ERROR(1780,"昱恒兑换码领用优惠券失败", BaseConstant.SysExceptionConstant.BIZ_TYPE.SOUNDWAVE),








    /****BRANDWISDOM**********BRANDWISDOM********************BRANDWISDOM**********BRANDWISDOM****/
    BRANDWISDOM_ERROR(7000,"获取问卷错误", BaseConstant.SysExceptionConstant.BIZ_TYPE.BRANDWISDOM),

    ;

    private SoundwaveSysExceptionEnum(int code, String msg, String bizType){
        this.code=code;
        this.msg=msg;
        this.bizType=bizType;
    }

    private int code;

    private String msg;

    private String bizType;

    @Override
    public int getCode() {
        return code;
    }
    @Override
    public void setCode(int code) {
        this.code = code;
    }
    @Override
    public String getMsg() {
        return msg;
    }
    @Override
    public void setMsg(String msg) {
        this.msg = msg;
    }
    @Override
    public String getBizType() {
        return bizType;
    }
    @Override
    public void setBizType(String bizType) {
        this.bizType = bizType;
    }
}
